<template>
<!--公司资料页面 => 发行相关组件-->
<div class="about_issue">
	<div class="title">{{ $lang('ABOUT_ISSUE') }}</div>
	<ul class="clearfix">
		<li><span>{{ $lang('ISSUE_DATE') }} : </span><span>{{Release.releaseDate || $lang('No_data')}}</span></li>
		<li><span>{{ $lang('ISSUE_NUM') }} : </span><span>{{Release.releaseCount || $lang('No_data')}}{{$lang('One')}}</span></li>
		<li><span>{{ $lang('ISSUE_PRICE') }} : </span><span>{{Release.releasePrice || $lang('No_data')}}{{$lang('RMB')}}</span></li>
		<li><span>{{ $lang('LIST_DATE') }} : </span><span>{{Release.launchDate || $lang('No_data')}}</span></li>
		<li><span>{{ $lang('EARNINGS') }} : </span><span>{{Release.releasePER || $lang('No_data')}}{{$lang('One')}}</span></li>
		<li><div><div>{{ $lang('ESTIMATE_RAISE_MONEY') }} : <span>{{Release.anticipatedFundraising || $lang('No_data')}}{{$lang('Ten_million')}}</span> </div><div>{{ $lang('ACTUAL_RAISE_MONEY') }} : <span>{{Release.practicalFundraising || $lang('No_data')}}{{$lang('Ten_million')}}</span></div></div>
		</li>
		<li><span>{{ $lang('FIRST_DAY_OPEN_PRICE') }} : </span><span>{{Release.openingPriceOnFirstDay || $lang('No_data')}}{{$lang('RMB')}}</span></li>
		<li><span>{{ $lang('MAIN_UNDERWRITER') }} : </span><span style="color: #cca33c;">{{$i18n.locale == 'zh'?Release.zhMainUnderwriter || $lang('No_data'):Release.enMainUnderwriter || $lang('No_data')}}</span></li>
		<li><span>{{ $lang('LIST_SPONSOR') }} : </span><span style="color: #cca33c;">{{$i18n.locale == 'zh'?Release.zhSponsorListing || $lang('No_data'):Release.enSponsorListing || $lang('No_data')}}</span></li>
	</ul>
	<div class="title">{{ $lang('TOKEN_INTRODUCE') }}</div>
	<p>{{$i18n.locale == 'zh'?Release.zhCurrencyIntro || $lang('No_data'):Release.enCurrencyIntro || $lang('No_data')}}</p>
</div>
</template>

<script>
import { gets } from "@/api/api.js";
export default {
	data(){
		return {
            Release: []
		}
	},
	methods:{
        async getRelease() {
            let that = this
            try {
                let res = await gets.searchCompanyList("/release/find-release-info.json", {
                    companyId : that.$store.state.common.companyId
                });
                that.Release = res.data
                // console.log(res)
            } catch (e) {
                console.log(e)
                throw e;
            }
        }
	},
	components:{
    },
    created() {
        this.getRelease()
    },
}
</script>

<style>
</style>